import request from '../request'
/**
 * 用户管理
 */

 // 列表
export function getSysUserList(params) {
  return request({
    url: 'bdSysUser/getSysUserList',
    method: 'POST',
    data: params
  })
}

// 新增
export function insertSysUserManager(params) {
  return request({
    url: 'bdSysUser/insertSysUserManager',
    method: 'POST',
    data: params
  })
}

// 编辑
export function updateSysUser(params) {
  return request({
    url: 'bdSysUser/updateSysUser',
    method: 'POST',
    data: params
  })
}
//删除
export function deleteUser(params) {
  return request({
    url: `bdSysUser/delete/${params}`,
    method: 'delete'
  })
}

